# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-textstyle
_pkgname=sphinxcontrib-textstyle
pkgver=0.2.3
pkgrel=6
pkgdesc="Sphinx textstyle extension"
url="https://pypi.org/project/sphinxcontrib-textstyle"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-sphinx py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-textstyle" # Backwards compatibility
provides="py-sphinxcontrib-textstyle=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="0b6ba8d50a97439e2ab57de336157f942876ee9c8203e8ff5be415fdc340bacab15fb461579457209e616c7fa1eec2c42720d5b0e3726c83a123e700b096fb4d  sphinxcontrib-textstyle-0.2.3.tar.gz"
